package com.his.his_system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.his.his_system.domain.DzmHisCareRefundlog;
import com.his.his_system.service.DzmHisCareRefundlogService;
import com.his.his_system.mapper.DzmHisCareRefundlogMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
* @author 覃圣礼
* @description 针对表【dzm_his_care_refundlog(退款记录)】的数据库操作Service实现
* @createDate 2023-07-07 09:13:47
*/
@Service
public class DzmHisCareRefundlogServiceImpl extends ServiceImpl<DzmHisCareRefundlogMapper, DzmHisCareRefundlog>
    implements DzmHisCareRefundlogService{

      @Resource
      private  DzmHisCareRefundlogMapper dzmHisCareRefundlogMapper;

      /**
       * 退费信息
       * @return
       */
      @Override
      public List<DzmHisCareRefundlog> getReturnPremium() {

	  return dzmHisCareRefundlogMapper.getReturnPremium();
      }

      /**
       * 退费总额
       * @return
       */
      @Override
      public String totalRefund() {

            System.out.println(dzmHisCareRefundlogMapper.totalRefund());

            return dzmHisCareRefundlogMapper.totalRefund();
      }
}




